<form class="layui-form layui-form-pane" id="LAY-form" lay-filter="LAY-form">
    <input type="text" class="layui-hide" id="id" name="id">
    <div class="layui-form-item">
        <label class="layui-form-label">菜单名称<i style="color:red">*</i></label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" placeholder="请输入菜单名称" lay-verify="required" lay-verType="tips" name="name">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单级别(目前仅支持1、2级菜单)</label>
        <div class="layui-input-inline">
            <input type="radio" name="type" value="1" title="一级" checked lay-filter="type">
            <input type="radio" name="type" value="2" title="二级" lay-filter="type">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" placeholder="请输入排序" name="sort">
        </div>
    </div>
    <!-- 隐藏submit 按钮, 用于yes回调进行表单提交-->
    <button type="submit" class="layui-hide" lay-submit></button>
</form>

